import { request } from '../request.js'
// 查询小鞠新闻列表

export function listNewsInfo(query) {
    return request({
        url: '/newsList',
        method: 'get',
        params: query
    })
}

// 查询小鞠新闻详细
export function getNewsInfo(id) {
    return request({
        url: '/news/' + id,
        method: 'get'
    })
}

// 查询小鞠新闻详细
export function getRelationalNewsInfo(newsId) {
    return request({
        url: '/relationalNews/' + newsId,
        method: 'get'
    })
}
